﻿using System.ComponentModel.DataAnnotations;

namespace SmartTracking.API.Read.DTO
{
    /// <summary>
    /// 角色权限
    /// </summary>
    public class RolePermissionDto
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 角色权限编号
        /// </summary>
        public int RPId { get; set; }
        /// <summary>
        /// 角色描述
        /// </summary>
        public string RoleMessage { get; set; }
        /// <summary>
        /// 主键ID
        /// </summary>
        public List<int> PermissionId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public List<string> PermissionName { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>
        public string PermissionType { get; set; }
        /// <summary>
        /// 权限等级
        /// </summary>
        public int PermissionLevenl { get; set; }
        /// <summary>
        /// 权限值
        /// </summary>
        public string PermissionValue { get; set; }
        /// <summary>
        /// 权限路径
        /// </summary>
        public string PermissionPath { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get; set; }
    }
}
